Skip to content

Fix timestamp bug when using nPlay#160

Merged
cboulay merged 7 commits intomasterfrom
cboulay/fix_sync_nplay
Mar 17, 2026
Merged

Fix timestamp bug when using nPlay#160
cboulay merged 7 commits intomasterfrom
cboulay/fix_sync_nplay

Conversation

@cboulay
Copy link
Collaborator

@cboulay cboulay commented Mar 17, 2026

Our clock conversion was getting poisoned with a bad state when the cbsdk session was initialized for NPLAY when connected to a legacy NPLAY session. This is because Legacy nPlay uses clock ticks, not nanoseconds, but there is no way for us to know that until we get a PROCREP packet near the beginning of the response to REQCONFIGALL.

This fix resets the clock sync state after that packet is received and we determine that we are non-gemini (i.e., non nanosecond timestamps).

@cboulay cboulay merged commit 8ba45d6 into master Mar 17, 2026
12 checks passed
@cboulay cboulay deleted the cboulay/fix_sync_nplay branch March 17, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant